package cn.sdstudio.dto;

import jakarta.validation.constraints.NotBlank;

import lombok.Data;
import lombok.experimental.Accessors;
import org.jetbrains.annotations.NotNull;

import javax.validation.constraints.Size;
import java.util.List;

@Data
@Accessors(chain = true)
public class TravelGuideDTO {


    private Long id;
    @NotNull
    private Long userId;

    @NotBlank
    @Size(max=100)
    private String title;

    @NotBlank
    private String content;

    private String coverImage;
    private List<Long> scenicSpotIds;
}
